package com.barunsw.bwf.bims.vo;

import java.io.Serializable;

public class ChannelVo implements Serializable {
	private static final long serialVersionUID = 1210912344230201362L;
	
	private long deviceId;
	private long id;
	private String name;
	private double maxVal;
	private double minVal;
	
	public ChannelVo() {
		super();
	}
	
	public ChannelVo(long deviceId, long id, String name, 
			double maxValue, double minValue) {
		super();
		
		this.deviceId 	= deviceId;
		this.id 		= id;
		this.name 		= name;
		this.maxVal 	= maxValue;
		this.minVal 	= minValue;
	}

	public long getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}

	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public double getMaxVal() {
		return maxVal;
	}

	public void setMaxVal(double maxVal) {
		this.maxVal = maxVal;
	}

	public double getMinVal() {
		return minVal;
	}

	public void setMinVal(double minVal) {
		this.minVal = minVal;
	}

	@Override
	public String toString() {
		return "ChannelVo [deviceId=" + deviceId + ", id=" + id + ", name="
				+ name + ", maxVal=" + maxVal + ", minVal=" + minVal + "]";
	}
}
